import NativePlatform = require('./NativePlatform');


export default class FBInstantPlatform extends NativePlatform {
    
    init(bg) { 
       
        this.bg=bg;
        this.params = {
            devid: 6, devtype: 6, appid: "com.taoqi001.mp_marmot_fbinstant",
        appver: 300, token: ""
        };
        
    }

    setStorage(obj: Object) {
        cc.sys.localStorage.setItem(obj['key'], obj['value']);
    };

    getStorage(key): any {
        return cc.sys.localStorage.getItem(key);
    };

  

}